package com.wavehi.yaml.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @Author WaveHi
 * @Date 4/11/2021 上午 10:08
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
@Component
@Getter
@Setter
@ToString
@ConfigurationProperties(prefix = "data")
public class YamlData {
    private Integer num;
    private Integer[] nums;
    private List<Integer> numList;
    private Person person;
    private Student student;
    private Map<String, Integer> map;
}
